package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 垃圾邮件表对象 tb_garbage_mail
 * 
 * @author ruoyi
 * @date 2025-02-20
 */
public class TbGarbageMail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long spamId;

    /** 发生时间 */
    @Excel(name = "发生时间")
    private String time;

    /** 机构代码 */
    @Excel(name = "机构代码")
    private String institutionCode;

    /** 机构简称 */
    @Excel(name = "机构简称")
    private String institutionShort;

    /** 垃圾邮件总数 */
    @Excel(name = "垃圾邮件总数")
    private String interceptTotal;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private String status;

    /** 指标有效标志 */
    private String delFlag;

    public void setSpamId(Long spamId) 
    {
        this.spamId = spamId;
    }

    public Long getSpamId() 
    {
        return spamId;
    }
    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }
    public void setInstitutionCode(String institutionCode) 
    {
        this.institutionCode = institutionCode;
    }

    public String getInstitutionCode() 
    {
        return institutionCode;
    }
    public void setInstitutionShort(String institutionShort) 
    {
        this.institutionShort = institutionShort;
    }

    public String getInstitutionShort() 
    {
        return institutionShort;
    }
    public void setInterceptTotal(String interceptTotal) 
    {
        this.interceptTotal = interceptTotal;
    }

    public String getInterceptTotal() 
    {
        return interceptTotal;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("spamId", getSpamId())
            .append("time", getTime())
            .append("institutionCode", getInstitutionCode())
            .append("institutionShort", getInstitutionShort())
            .append("interceptTotal", getInterceptTotal())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
